package com.hsgene.product.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.message.domain.PushInfo;
import com.hsgene.product.service.api.NotificationPushService;
import org.springframework.stereotype.Component;

/**
 * @author wangbing
 * @version 1.0, 2018/12/12
 */
@Component
public class NotificationPushServiceImpl implements NotificationPushService {

    @Override
    public ApiResult<String> pushNotification(PushInfo pushInfo, String userId, Boolean isPush) {
        return ApiResult.fail(CommonErrorCode.MESSAGE_SERVICE_NOT_AVAILABLE);
    }
}
